package net.wanho.vo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

/**
 * Author: Lun
 * Date: 2025-07-24 09:22
 * Description: <描述>
 */
@Data
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class QueryAuthListVo implements Serializable {
    private int authId;
    private int parentId;
    private String authName;
    private String authDesc;
    private int authGrade;
    private String authType;
    private String authUrl;
    private String authCode;
    private int authOrder;
    private String authState;
    private int createBy;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    private int updateBy;
    @TableField(fill = FieldFill.UPDATE)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;
    private List<QueryAuthListVo> childAuth;
}
